﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;
using Model;

namespace Myproject.BSM.PcWeb.PcChannel.Product
{
    public partial class GoodsclassEdit : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string ID = Request.QueryString["id"];
            if (!string.IsNullOrEmpty(ID))
            {
                GoodsClassModel model = new GoodsClassBLL().GetModel(int.Parse(ID));
                pc_Channel_GoodsclassEdit_name.Value = model.Name;
                pc_Channel_GoodsclassEdit_ename.Value = model.EName;
                pc_Channel_GoodsclassEdit_GoodsclassId.Value = model.GoodsClassID.ToString();
            }
        }
    }
}